package com.xiaochong.tir.common.data.hbasepo;

import java.math.BigDecimal;

/**
 * Created by org on 2018/6/14.
 * 交易历史计算5分钟内的买、卖、总量
 */
public class TradesHistoryCountFive {
    private String dateTime;//日期时间年月日时+（0-11）分别代表0到59分
    private BigDecimal buyAmount;//买交易额
    private BigDecimal sellAmount;//卖交易额
    private BigDecimal buySellAmount;//买交易额减去卖交易额的差值
    private BigDecimal amount;//总交易量（卖和买总交易量）
    private String inflow = "-";//如果buySellAmount为正那就+，否则-
    //下面四个为方便计算使用
    private BigDecimal buyAmountNew;//买交易额
    private BigDecimal sellAmountNew;//卖交易额
    private BigDecimal buySellAmountNew;//买交易额减去卖交易额的差值
    private BigDecimal amountNew;//总交易量（卖和买总交易量）

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public BigDecimal getBuyAmount() {
        return buyAmount;
    }

    public void setBuyAmount(BigDecimal buyAmount) {
        this.buyAmount = buyAmount;
    }

    public BigDecimal getSellAmount() {
        return sellAmount;
    }

    public void setSellAmount(BigDecimal sellAmount) {
        this.sellAmount = sellAmount;
    }

    public BigDecimal getBuySellAmount() {
        return buySellAmount;
    }

    public void setBuySellAmount(BigDecimal buySellAmount) {
        this.buySellAmount = buySellAmount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getInflow() {
        return inflow;
    }

    public void setInflow(String inflow) {
        this.inflow = inflow;
    }

    public BigDecimal getBuyAmountNew() {
        return buyAmountNew;
    }

    public void setBuyAmountNew(BigDecimal buyAmountNew) {
        this.buyAmountNew = buyAmountNew;
    }

    public BigDecimal getSellAmountNew() {
        return sellAmountNew;
    }

    public void setSellAmountNew(BigDecimal sellAmountNew) {
        this.sellAmountNew = sellAmountNew;
    }

    public BigDecimal getBuySellAmountNew() {
        return buySellAmountNew;
    }

    public void setBuySellAmountNew(BigDecimal buySellAmountNew) {
        this.buySellAmountNew = buySellAmountNew;
    }

    public BigDecimal getAmountNew() {
        return amountNew;
    }

    public void setAmountNew(BigDecimal amountNew) {
        this.amountNew = amountNew;
    }
}
